// import { request } from "../../utils/request"

/* 城市管理员 */

const defaultState = {
    cityName: '@@@@'
}
export default (state = defaultState, action) => {
    //深拷贝
    const newState = JSON.parse(JSON.stringify(state))
    switch (action.type) {
        case 'INITCITY':
            newState.cityName = action.value
            return newState
        default:
            break
    }
    return state
}